<?php


namespace app\common\model;


class Community extends BaseModel
{
    protected $name = "community";

    public function getLists(): \think\Paginator
    {
        return $this->mongoSearch()
            ->order('created_at', 'desc')
            ->paginate($this->pageLimit);
    }

}